<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<link rel="stylesheet" type="text/css" media="screen"
	href="/cssmain.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:if test="${not empty loggedUser}">
	<jsp:forward page="/index" />
</c:if>
<div class="main">
	<div class="links">
		[<a href="./registration.jsp">registracija</a>]<br/>
		[<a href="./contacts">testiranje pozivnica</a>]<br/>
	</div>
    <div class="content">	
			 			Dobro dosli

		Log in:
		<form action="./login" method="POST" class="prijavaForma" accept-charset="ISO-8859-1">
			<table class="prijavaTabela" >
				<tr>
					<td>email:</td>
					<td><input type="text" name="email">				
				</tr>
				<tr>
					<td>password</td>
					<td><input type="password" name="pass"></td>				
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input type="submit" name="submit" value="prijavi se"></td>				
				</tr>		
				</table>					
		</form>
			
		
	</div>
	
</div>
</body>
</html>